﻿-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE GetDomainsByUnitID
	@UnitID int
AS
BEGIN
	 Select * FROM Domains inner join DomainUnits on Domains.DomainID = DomainUnits.DomainID
						   Where DomainUnits.UnitID = @UnitID
END
